//
//  ZJQuestionAnModel.m
//  ShangHaiHuDongApp
//
//  Created by ZJ on 2017/6/22.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "ZJQuestionAnModel.h"

@implementation ZJQuestionAnModel

- (NSString *)description{
    return [self yy_modelDescription];
}

-  (CGFloat)cellHeight{
    CGFloat contentLabelHeight = [self.QUESTION getLabelSizeWithLabelFont:[UIFont titleTextFont] labelWidth:[UIScreen zj_screenWith] - 24 * [UIScreen zj_screenWScale] labelNumberOfLines:0 labelLineSpace:4 * [UIScreen zj_screenHScale] labelCharacterSpace:1];
    CGFloat labelH = [NSString heightWithTextFont:[UIFont titleTextFont]];
    CGFloat timeH = [NSString heightWithTextFont:[UIFont systemFontOfSize:13 * [UIScreen zj_textFontScale]]];
    return contentLabelHeight + labelH + timeH +(12 + 8 + 8 + 10 + 11) * [UIScreen zj_screenHScale];
}

@end
